demo: Clear filter when search is stopped
authorMatthias Clasen <mclasen@redhat.com>
Sun, 12 Jul 2020 20:47:51 +0000 (16:47 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 12 Jul 2020 20:47:51 +0000 (16:47 -0400)
commita888e1cb654c721ec5e8a2a7322703a5c6d23a48
tree5ad725cb17fbd2102b2ace9a8b208653cfa461ec
parentc80b33b2ad39d7f02414c4827b7dcf820dc741f4
demo: Clear filter when search is stopped

When the search entry disappears on Escape,
reset the search string to "", so we don't
end up with a filtered list and no obvious
way to remove the filtering.
demos/gtk-demo/main.c
demos/gtk-demo/main.ui